package model;

import com.et.ar.ActiveRecordBase;
import com.et.ar.annotations.Column;
import com.et.mvc.ViewRendererClass;
import com.wzzz.cache.CacheHandler;

@ViewRendererClass(model.V_room_shelf_grid.class)
public class V_room_shelf_grid extends ActiveRecordBase {

	@Column public String room_id   ;//保管室ID    
	@Column public String room_num  ;//保管室编号  
	@Column public String room_name ;//保管室名称        
	@Column public String shelf_id  ;//保管柜ID
	@Column public String shelf_num ;//保管柜编号
	@Column public String shelf_name;//保管柜名称 
	@Column public String shelf_row ;//保管柜行
	@Column public String shelf_con ;//保管柜列
	@Column public String grid_id   ;//格子ID
	@Column public String grid_num    	;//格子编号
	@Column public String grid_status   ;//格子状态

	
	
	public String getRoom_id() {
		return room_id;
	}



	public void setRoom_id(String room_id) {
		this.room_id = room_id;
	}



	public String getRoom_num() {
		return room_num;
	}



	public void setRoom_num(String room_num) {
		this.room_num = room_num;
	}



	public String getRoom_name() {
		return room_name;
	}



	public void setRoom_name(String room_name) {
		this.room_name = room_name;
	}



	public String getShelf_id() {
		return shelf_id;
	}



	public void setShelf_id(String shelf_id) {
		this.shelf_id = shelf_id;
	}



	public String getShelf_num() {
		return shelf_num;
	}



	public void setShelf_num(String shelf_num) {
		this.shelf_num = shelf_num;
	}



	public String getShelf_name() {
		return shelf_name;
	}



	public void setShelf_name(String shelf_name) {
		this.shelf_name = shelf_name;
	}



	public String getShelf_row() {
		return shelf_row;
	}



	public void setShelf_row(String shelf_row) {
		this.shelf_row = shelf_row;
	}



	public String getShelf_con() {
		return shelf_con;
	}



	public void setShelf_con(String shelf_con) {
		this.shelf_con = shelf_con;
	}



	public String getGrid_id() {
		return grid_id;
	}



	public void setGrid_id(String grid_id) {
		this.grid_id = grid_id;
	}



	public String getGrid_num() {
		return grid_num;
	}



	public void setGrid_num(String grid_num) {
		this.grid_num = grid_num;
	}



	public String getGrid_status() {
		return grid_status;
	}



	public void setGrid_status(String grid_status) {
		this.grid_status = grid_status;
	}



	public String getGrid_statusDesc() {
		if (grid_status != null) {
			return CacheHandler.getDicDesc("10", grid_status);
		}
		return grid_status;
	}


}
